package com.atguigu.mapper;

import com.atguigu.pojo.Fruit;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface FruitMapper {
    public List<Fruit> getFruits();
    Fruit getFruitById(int id);
}
